home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / gui / precog2_1.lha / Precognition2_1 / include / Positioner.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-12  |  895 b   |  47 lines

  1. /* ==========================================================================
  2. **
  3. **                   Positioner.h
  4. ** PObject<GraphicObject<Interactor<Valuator<Positioner
  5. **
  6. ** A Positioner is a virtual class, derrived from class Valuator.
  7. ** Positioners are proportional gadgets.
  8. **
  9. **
  10. ** ©1991 WILLISoft
  11. **
  12. ** ==========================================================================
  13. */
  14.  
  15. #ifndef POSITIONER_H
  16. #define POSITIONER_H
  17.  
  18. #include "Valuator.h"
  19.  
  20.  
  21.  
  22. typedef Valuator Positioner;
  23.  
  24.  
  25.  
  26. USHORT KnobSize __PARMS((
  27.                      Positioner *self
  28.                ));
  29.    /*
  30.    ** Returns the size of the knob (range 0..0xFFFF).
  31.    */
  32.  
  33.  
  34. USHORT SetKnobSize __PARMS((
  35.                      Positioner *self,
  36.                      USHORT knobsize
  37.                   ));
  38.    /*
  39.    ** Sets the size of the knob. Returns its size.
  40.    */
  41.  
  42. void Positioner_Init __PARMS(( Positioner *self ));
  43.  
  44. #endif
  45.  
  46.  
  47.